Optimal. Leaf size=100 \[ \frac{16 b^2 x^{5/2} \left (a+\frac{b}{x}\right )^{3/2}}{105 a^3}-\frac{32 b^3 x^{3/2} \left (a+\frac{b}{x}\right )^{3/2}}{315 a^4}-\frac{4 b x^{7/2} \left (a+\frac{b}{x}\right )^{3/2}}{21 a^2}+\frac{2 x^{9/2} \left (a+\frac{b}{x}\right )^{3/2}}{9 a} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.031134, antiderivative size = 100, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {271, 264} \[ \frac{16 b^2 x^{5/2} \left (a+\frac{b}{x}\right )^{3/2}}{105 a^3}-\frac{32 b^3 x^{3/2} \left (a+\frac{b}{x}\right )^{3/2}}{315 a^4}-\frac{4 b x^{7/2} \left (a+\frac{b}{x}\right )^{3/2}}{21 a^2}+\frac{2 x^{9/2} \left (a+\frac{b}{x}\right )^{3/2}}{9 a} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 271
Rule 264
Rubi steps
\begin{align*} \int \sqrt{a+\frac{b}{x}} x^{7/2} \, dx &=\frac{2 \left (a+\frac{b}{x}\right )^{3/2} x^{9/2}}{9 a}-\frac{(2 b) \int \sqrt{a+\frac{b}{x}} x^{5/2} \, dx}{3 a}\\ &=-\frac{4 b \left (a+\frac{b}{x}\right )^{3/2} x^{7/2}}{21 a^2}+\frac{2 \left (a+\frac{b}{x}\right )^{3/2} x^{9/2}}{9 a}+\frac{\left (8 b^2\right ) \int \sqrt{a+\frac{b}{x}} x^{3/2} \, dx}{21 a^2}\\ &=\frac{16 b^2 \left (a+\frac{b}{x}\right )^{3/2} x^{5/2}}{105 a^3}-\frac{4 b \left (a+\frac{b}{x}\right )^{3/2} x^{7/2}}{21 a^2}+\frac{2 \left (a+\frac{b}{x}\right )^{3/2} x^{9/2}}{9 a}-\frac{\left (16 b^3\right ) \int \sqrt{a+\frac{b}{x}} \sqrt{x} \, dx}{105 a^3}\\ &=-\frac{32 b^3 \left (a+\frac{b}{x}\right )^{3/2} x^{3/2}}{315 a^4}+\frac{16 b^2 \left (a+\frac{b}{x}\right )^{3/2} x^{5/2}}{105 a^3}-\frac{4 b \left (a+\frac{b}{x}\right )^{3/2} x^{7/2}}{21 a^2}+\frac{2 \left (a+\frac{b}{x}\right )^{3/2} x^{9/2}}{9 a}\\ \end{align*}
Mathematica [A] time = 0.015364, size = 58, normalized size = 0.58 \[ \frac{2 \sqrt{x} \sqrt{a+\frac{b}{x}} (a x+b) \left (-30 a^2 b x^2+35 a^3 x^3+24 a b^2 x-16 b^3\right )}{315 a^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.005, size = 55, normalized size = 0.6 \begin{align*}{\frac{ \left ( 2\,ax+2\,b \right ) \left ( 35\,{a}^{3}{x}^{3}-30\,{a}^{2}b{x}^{2}+24\,xa{b}^{2}-16\,{b}^{3} \right ) }{315\,{a}^{4}}\sqrt{x}\sqrt{{\frac{ax+b}{x}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.959088, size = 93, normalized size = 0.93 \begin{align*} \frac{2 \,{\left (35 \,{\left (a + \frac{b}{x}\right )}^{\frac{9}{2}} x^{\frac{9}{2}} - 135 \,{\left (a + \frac{b}{x}\right )}^{\frac{7}{2}} b x^{\frac{7}{2}} + 189 \,{\left (a + \frac{b}{x}\right )}^{\frac{5}{2}} b^{2} x^{\frac{5}{2}} - 105 \,{\left (a + \frac{b}{x}\right )}^{\frac{3}{2}} b^{3} x^{\frac{3}{2}}\right )}}{315 \, a^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.43864, size = 136, normalized size = 1.36 \begin{align*} \frac{2 \,{\left (35 \, a^{4} x^{4} + 5 \, a^{3} b x^{3} - 6 \, a^{2} b^{2} x^{2} + 8 \, a b^{3} x - 16 \, b^{4}\right )} \sqrt{x} \sqrt{\frac{a x + b}{x}}}{315 \, a^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.17217, size = 82, normalized size = 0.82 \begin{align*} \frac{2}{315} \,{\left (\frac{16 \, b^{\frac{9}{2}}}{a^{4}} + \frac{35 \,{\left (a x + b\right )}^{\frac{9}{2}} - 135 \,{\left (a x + b\right )}^{\frac{7}{2}} b + 189 \,{\left (a x + b\right )}^{\frac{5}{2}} b^{2} - 105 \,{\left (a x + b\right )}^{\frac{3}{2}} b^{3}}{a^{4}}\right )} \mathrm{sgn}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]